.aiTalkBox {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  .command-con {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: calc(100% - 90px);
    height: 100%;
    margin: 0px 0;
    overflow-y: auto;
    /* 自定义滚动条样式 */
    scrollbar-width: thin;

    /* 配置滚动条渐变色 */
    scrollbar-color: transparent transparent;
    // &.haszancai {
    //   height: calc(100% - 120px);
    // }
    .con-box {
      position: relative;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      padding: 70px 24px 100px 24px;
      .commandList {
        &.marginRight {
          margin-right: 40px;
        }
        &.systemTxtRecover {
          p {
            // min-height: 1.7em;
            margin-bottom: 0;
          }
        }
        p {
          margin-bottom: 0;
        }
      }
      .item-title {
        display: flex;
        flex-direction: row-reverse;
        margin-left: 10%;
        font-size: 11px;
        .item-title-text {
          width: fit-content;
          margin-bottom: 20px;
          padding: 9px 14px;
          line-height: 20px;
          background: #dae5fa;
          border-radius: 8px 0 8px 8px;
        }
      }
      .item-content {
        display: flex;
        flex-direction: row;
        margin-right: 10%;
        margin-bottom: 20px;
        font-size: 11px;
        .item-content-text {
          width: fit-content;
          margin-bottom: 11px;
          padding: 9px 14px;
          line-height: 20px;
          background: #f3f3f8;
          border-radius: 0px 8px 8px 8px;
        }
      }
      .commandListBox {
        width: 100%;
        margin-bottom: 20px;

        &.userType {
          text-align: right;
        }
        .commandList {
          margin-bottom: 0px;
          p {
            margin-bottom: 0px !important;
          }
        }
        .commandZanCaiBox {
          display: inline-block;
          display: inline-flex;
          align-content: center;
          align-items: center;
          justify-content: flex-start;
          box-sizing: border-box;
          width: auto;
          height: 36px;
          margin: 6px 0px 0 0;
          padding: 0 11px;
          line-height: 36px;
          background: #e6edf4;
          border-radius: 4px;
          .commandZanCai-hd {
            display: inline-block;
            width: 30px;
            height: 26px;
            margin: 0 10px 0 0px;
            line-height: 26px;
            text-align: center;
            background: #fff;
            border-radius: 4px;
            .anticon {
              width: 30px;
              margin: 0 auto;
              text-align: center;
              svg {
                margin: 0 auto;
              }
            }
          }
          .commandZanCai-bd {
            width: auto;
            span {
              display: -webkit-box;
              overflow: hidden;
              text-overflow: ellipsis;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
            }
          }
        }
        .fangxieBtnBox {
          display: inline-block;
          width: auto;
          margin-top: 10px;
          .ant-btn {
            color: #397bff;
            font-weight: 500;
            font-size: 14px;
            font-family: PingFangSC-Medium, PingFang SC;
            background: rgba(57, 123, 255, 0.1);
            border: 1px solid rgba(57, 123, 255, 0.26);
            border-radius: 6px;
          }
        }
      }
      .sourceWrap {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        .sourceBox {
          width: calc(100% - 90px);
          margin-right: 0px;
        }
        .copy-sourceBox {
          width: 90px;
          margin: -20px 0px 0 5px;
          vertical-align: middle;
          img {
            cursor: pointer;
          }
          .ant-btn {
            width: auto;
            height: auto;
            // display: none;
            margin: 0 10px;
            background: transparent;
            border: none;
          }
        }
      }
      .sourceBox {
        box-sizing: border-box;
        width: calc(100% - 50px);
        margin-right: 50px;
        margin-bottom: 20px;
        padding: 12px 20px;
        color: #3e4352;
        background: #ffffff;
        border-radius: 10px;
        .sourceTopBox {
          width: 100%;
          padding-bottom: 10px;
          font-size: 14px;
          line-height: 22px;
          text-align: justify;
          word-break: break-all;
        }
        .sourceBottomBox {
          display: flex;
          align-content: center;
          align-items: center;
          justify-content: flex-start;
          width: 100%;
          height: 30px;
          padding-top: 10px;
          line-height: 30px;
          border-top: 1px dashed #dae5fa;
          .sourceBottomBox-hd {
            display: -webkit-box;
            flex: 1;
            margin-right: 10px;
            overflow: hidden;
            color: #adb0ba;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1; /* 显示的行数 */
            -webkit-box-orient: vertical;
          }
          .sourceBottomBox-bd {
            width: auto;
            color: #397bff;
            cursor: pointer;
          }
          .sourceBottomBox-avatar {
            width: auto;
            margin-right: 10px;
            color: #397bff;
            cursor: pointer;
            img {
              margin-top: -5px;
              vertical-align: middle;
            }
          }
        }
      }
      .recommendBox {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        width: calc(100% - 90px);
        margin-right: 50px;
        margin-bottom: 20px;
        padding: 12px 20px;
        color: #3e4352;
        background: #ffffff;
        border-radius: 10px;
        .recommend-hd {
          flex: 1;
        }
        .recommend-bd {
          width: auto;
        }
      }
      //点踩反馈列表
      .feedbackReasonsWrap {
        display: flex;
        align-content: center;
        align-items: flex-start;
        justify-content: flex-start;
        box-sizing: border-box;
        margin-bottom: 20px;
        .feedbackReasonsBox {
          width: auto;
          height: auto;
          padding: 12px 20px;
          color: #3e4352;
          font-weight: 400;
          font-size: 14px;
          font-family: PingFangSC-Regular, PingFang SC;
          line-height: 22px;
          overflow-wrap: break-word;
          background: #ffffff;
          border-radius: 0px 6px 6px 6px;
          .feedbackReasonsTitle {
            height: 22px;
            margin-bottom: 10px;
            color: #3e4352;
            font-weight: 400;
            font-size: 14px;
            font-family: PingFangSC, PingFang SC;
            line-height: 22px;
          }
          .feedbackReasonsListBox {
            width: 100%;
            .feedbackReasonsList {
              width: auto;
              margin-bottom: 10px;
              padding: 6px 20px;
              color: #3e4352;
              font-weight: 400;
              font-size: 14px;
              font-family: PingFangSC, PingFang SC;
              line-height: 33px;
              line-height: 20px;
              background: rgba(57, 123, 255, 0.1);
              border: 1px solid rgba(57, 123, 255, 0.26);
              border-radius: 0px 100px 100px 100px;
              cursor: pointer;
            }
          }
          .feedbackReasonsFoot {
            height: 17px;
            color: #3e4352;
            font-weight: 400;
            font-size: 12px;
            font-family: PingFangSC, PingFang SC;
            line-height: 17px;
          }
        }
      }
    }
    .topMasking {
      position: absolute;
      top: -10px;
      left: 0;
      width: 100%;
      height: 87px;
      background: linear-gradient(180deg, #f1f5f9 0%, rgba(241, 245, 249, 0) 100%);
      border-radius: 20px;
    }
    /* 配置滚动条的轨道 */
    &::-webkit-scrollbar {
      width: 5px; /* 调整滚动条的宽度 */
    }

    /* 配置滚动条的滑块 */
    &::-webkit-scrollbar-thumb {
      background: rgba(0, 117, 255, 0.19);
      border-radius: 20px; /* 调整滚动条滑块的圆角 */
    }

    /* 配置滚动条的轨道背景 */
    &::-webkit-scrollbar-track {
      background-color: transparent; /* 调整滚动条轨道的背景颜色 */
    }
  }
  .command-send-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0px 23px 20px 23px;
    background-color: #f1f5f9;
    border-radius: 0 0 20px 20px;
    .command-send {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      width: calc(100% - 0px);
      height: 46px;
      margin-top: 0;
      line-height: 46px;
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0px 0px 15px 0px rgba(60, 62, 68, 0.15);
      // transform: translateX(-50%);
      .question-input {
        height: 46px;
        color: #3e4352;
        font-size: 14px;
        line-height: 46px;
      }
      .stop-btn {
        position: absolute;
        top: -30px;
        left: 50%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 20px;
        font-size: 12px;
        background: rgba(216, 216, 216, 0.16);
        border: 1px solid rgba(151, 151, 151, 0.2);
        border-radius: 2px;
        transform: translateX(-50%);
        cursor: pointer;
      }
      .command-type-tag-box {
        display: inline-block;
        width: auto;
        height: 26px;
        margin: 0 0px 0 10px;
        color: #3e4352;
        font-weight: 400;
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        line-height: 26px;
        vertical-align: middle;
        border-radius: 3px;
        .selectOrderType {
          background: #dfecf9;
          border-radius: 3px;
          .ant-select-selector {
            color: #3e4352;
            font-weight: 500;

            font-family: PingFangSC-Medium, PingFang SC;
          }
        }
        .command-type-tag {
          display: inline-block;
          width: auto;
          height: 24px;
          margin-left: 5px;
          padding: 0 10px;
          color: #3e4352;
          font-weight: 400;
          font-size: 14px;
          font-family: PingFangSC-Regular, PingFang SC;
          line-height: 24px;
          background: #f3f3f8;
          border-radius: 3px;
          &.cyan {
            background: #dff7ed;
          }
          &.red {
            background: rgba(245, 112, 112, 0.2);
          }
        }
      }
      .command-form {
        flex: 1;
        height: 100%;
        vertical-align: middle;
      }
    }
    .zancaiBox {
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      box-sizing: border-box;
      width: calc(100% - 0);
      height: 34px;
      margin: 10px 0px 0;
      padding: 0 10px;
      color: #3e4352;
      font-weight: 400;
      font-size: 13px;
      font-family: PingFangSC-Regular, PingFang SC;
      line-height: 26px;
      line-height: 34px;
      vertical-align: middle;
      background: #e0e8f0;
      border-radius: 5px;
    }
    .zancai-hd {
      display: inline-block;
      flex: 1;
      vertical-align: middle;
      span {
        display: -webkit-box;
        width: 100%;
        height: 34px;
        overflow: hidden;
        line-height: 34px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
      }
    }
    .zancai-bd {
      width: auto;
      margin: 0 10px;
      vertical-align: middle;
      cursor: pointer;
    }
  }
}
.userCommand {
  justify-content: flex-end;
  margin-right: 0;
  margin-left: 12%;
  .commandList-hd {
    margin-right: 0;
    margin-left: 14px;
  }
  .commandList-bd {
    color: #3e4352;
    font-weight: 400;
    font-family: PingFangSC-Regular, PingFang SC;
    background: #b7d9ff;
    border-radius: 10px 0px 10px 10px;
  }
}
.copyBox {
  align-items: center;
  &:hover {
    .commandList-ft {
      .ant-btn {
        display: inline-block;
      }
    }
  }
  .commandList-bd {
    flex: 1;
  }
  .commandList-ft {
    width: 90px;
    margin: 0 0px 0 5px;
    vertical-align: middle;
    img {
      cursor: pointer;
    }
    .ant-btn {
      width: auto;
      height: auto;
      // display: none;
      margin: 0 10px;
      background: transparent;
      border: none;
    }
  }
}
.explainBox {
  width: auto;
  height: auto;
  margin-bottom: 20px;
  padding: 12px 20px;
  color: #3e4352;
  font-weight: 400;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  line-height: 22px;
  overflow-wrap: break-word;
  background: #ffffff;
  border-radius: 0px 10px 10px 10px;
  .explainList {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding: 6px 0px;
    .explainList-hd {
      display: -webkit-box;
      width: auto;
      height: 22px;
      margin-right: 30px;
      overflow: hidden;
      color: #3e4352;
      font-weight: 400;
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      line-height: 22px;
      white-space: normal;
      text-overflow: ellipsis;
      -webkit-line-clamp: 1; /* 控制显示的行数 */
      -webkit-box-orient: vertical;
    }
    .explainList-bd {
      display: -webkit-box;
      flex: 1;
      height: 22px;
      overflow: hidden;
      color: #397bff;
      font-weight: 400;
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      line-height: 22px;
      white-space: normal;
      text-overflow: ellipsis;
      cursor: pointer;
      -webkit-line-clamp: 1; /* 控制显示的行数 */
      -webkit-box-orient: vertical;
    }
  }
  .explainTextBox {
    font-size: 14px;
    .explainTit {
      margin-bottom: 10px;
      color: #3e4352;
      font-weight: 600;
    }
    .colorBlue {
      color: blue;
    }
    .explainText {
      margin-bottom: 10px;
      font-size: 14px;
      p {
        margin-bottom: 0px;
      }
    }
  }
}
.dividerLine {
  margin-top: 20px !important;
  margin-bottom: 30px !important;
  .ant-divider-inner-text {
    color: #3f4453 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    font-family: PingFangSC-Regular, PingFang SC;
    opacity: 0.4 !important;
  }
}
.ptwo {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sourceTopBox {
  word-break: break-all;
  p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    word-break: break-all;
  }
}

.articleSourceModal {
  // width: 843px;
  // height: calc(100% - 30px);
  // width: 50vw !important;
  // min-width: 720px !important;
  // max-width: 1600px !important;
  .ant-modal-body {
    // max-height: 60vh !important;
    .modalBodyRef {
      height: 673px;
      padding-right: 10px;
      overflow-y: auto !important;
      line-height: 28px;
      p {
        color: #ffffff;
        font-weight: 500;
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        line-height: 28px;
        text-align: left;
      }
      .highlightCon {
        width: auto;
        margin-right: 5px;
        margin-bottom: 10px;
        padding: 5px 10px;
        color: #6e94ff;
        font-weight: 600;
        font-size: 12px;
        font-family: PingFangSC, PingFang SC;
        background: rgba(57, 123, 255, 0.2);
        border-radius: 4px;
      }
    }
  }
  .ant-modal-footer {
    font-size: 14px;
    .bootomInfo {
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      overflow: hidden;
      font-size: 14px;
    }
    .bootomInfo-hd {
      display: inline-block;
      width: auto;
      margin-right: 10px;
    }
    .bootomInfo-bd {
      display: -webkit-box;
      flex: 1;
      color: #397bff;
      text-align: left;
      text-overflow: ellipsis;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }
  }
  .ant-modal-content {
    padding: 20px 30px;
  }
  .ant-modal-title {
    margin: 20px 20px 35px 0px;
  }
  .articleDetailTitleBox {
    .articleDetailTitle {
      min-height: 28px;
      margin: 10px 0 20px;
      font-weight: bold;
      font-size: 24px;
      font-family: OPPOSans-30, OPPOSans-30;
      line-height: 28px;
    }
    .articleDetailTag {
      display: inline-block;
      width: auto;
      margin-bottom: 12px;
      margin-left: 5px;
      padding: 5px 18px;
      font-weight: 600;
      font-size: 12px;
      font-family: PingFangSC, PingFang SC;
      border-radius: 4px;
    }
  }
}
.zancaiHandleTag {
  .anticon {
    margin-right: 20px;
  }
}
.yuanwenicon {
  margin-right: 7px;
  vertical-align: middle;
}
.conversationTalkTitle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding-left: 31px;
  color: #3e4352;
  font-weight: 600;
  font-size: 16px;
  font-family: PingFangSC-Semibold, PingFang SC;
  line-height: 52px;
  background: #fdfefe;
  border-radius: 20px 20px 0 0;
  box-shadow: 0px 2px 4px 0px rgba(25, 26, 43, 0.1);
}
.zancaiHandleTag {
  .anticon {
    margin-right: 20px;
  }
}
.yuanwenicon {
  margin-right: 7px;
  vertical-align: middle;
}
.conversationTalkTitle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding-left: 31px;
  color: #3e4352;
  font-weight: 600;
  font-size: 16px;
  font-family: PingFangSC-Semibold, PingFang SC;
  line-height: 52px;
  background: #fdfefe;
  border-radius: 20px 20px 0 0;
  box-shadow: 0px 2px 4px 0px rgba(25, 26, 43, 0.1);
}
